﻿using System;

namespace SPRepository
{
    public class TaxonomyFieldDto : IFieldDto
    {
        protected readonly string _label;

        public TaxonomyFieldDto(Guid termGuid) : this(string.Empty, termGuid)
        {
        }

        public TaxonomyFieldDto(string label, Guid termGuid)
        {
            _label = label;
            TermGuid = termGuid;
        }

        public string Label
        {
            get { return _label; }
        }

        public Guid TermGuid { get; set; }
    }
}